// samsting : this file is auto create.

#include "Emr/2015-09-10/DescribeExecutePlanResponse.h"

namespace aliyun { namespace Emr {

DescribeExecutePlanResponse::DescribeExecutePlanResponse() {
}

int64 DescribeExecutePlanResponse::JobInfo::GetId(void) const {
  return Id_;
}

int64 DescribeExecutePlanResponse::ClusterInfo::GetClusterId(void) const {
  return ClusterId_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetBizId(void) const {
  return BizId_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetClusterName(void) const {
  return ClusterName_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetUtcStartTime(void) const {
  return UtcStartTime_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetUtcStopTime(void) const {
  return UtcStopTime_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetTimeOutEnable(void) const {
  return TimeOutEnable_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetTimeOutTime(void) const {
  return TimeOutTime_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetTimeOutWarningWay(void) const {
  return TimeOutWarningWay_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetTimeOutOperate(void) const {
  return TimeOutOperate_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetReleaseSetting(void) const {
  return ReleaseSetting_;
}

bool DescribeExecutePlanResponse::ClusterInfo::GetIsOpenOssLog(void) const {
  return IsOpenOssLog_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetStatus(void) const {
  return Status_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetLastJobStatus(void) const {
  return LastJobStatus_;
}

int DescribeExecutePlanResponse::ClusterInfo::GetRunningTime(void) const {
  return RunningTime_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetFailReason(void) const {
  return FailReason_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetOssPath(void) const {
  return OssPath_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetEmrRole4ECS(void) const {
  return EmrRole4ECS_;
}

const string& DescribeExecutePlanResponse::ClusterInfo::GetEmrRole4Oss(void) const {
  return EmrRole4Oss_;
}

bool DescribeExecutePlanResponse::ClusterInfo::GetIsOpenPublicIp(void) const {
  return IsOpenPublicIp_;
}

const string& DescribeExecutePlanResponse::SoftwareInfo::GetEmrVer(void) const {
  return EmrVer_;
}

const string& DescribeExecutePlanResponse::SoftwareInfo::GetClusterType(void) const {
  return ClusterType_;
}

const string& DescribeExecutePlanResponse::SoftwareInfo::GetSoftwares(void) const {
  return Softwares_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::Node::GetInstanceId(void) const {
  return InstanceId_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::Node::GetPubIp(void) const {
  return PubIp_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::Node::GetInnerIp(void) const {
  return InnerIp_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::Node::GetDiskInfo(void) const {
  return DiskInfo_;
}

const std::vector<DescribeExecutePlanResponse::EcsInfo::EcsRole::Node>& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetNodes(void) const {
  return Nodes_;
}

bool DescribeExecutePlanResponse::EcsInfo::EcsRole::GetIsMaster(void) const {
  return IsMaster_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetInstanceType(void) const {
  return InstanceType_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetPayment(void) const {
  return Payment_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetCpuCore(void) const {
  return CpuCore_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetMemoryCapacity(void) const {
  return MemoryCapacity_;
}

int DescribeExecutePlanResponse::EcsInfo::EcsRole::GetDiskType(void) const {
  return DiskType_;
}

int DescribeExecutePlanResponse::EcsInfo::EcsRole::GetDiskCapacity(void) const {
  return DiskCapacity_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetBandWidth(void) const {
  return BandWidth_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetNetPayType(void) const {
  return NetPayType_;
}

const string& DescribeExecutePlanResponse::EcsInfo::EcsRole::GetEcsPayType(void) const {
  return EcsPayType_;
}

const std::vector<DescribeExecutePlanResponse::EcsInfo::EcsRole>& DescribeExecutePlanResponse::EcsInfo::GetEcsRoles(void) const {
  return EcsRoles_;
}

const string& DescribeExecutePlanResponse::EcsInfo::GetRegionId(void) const {
  return RegionId_;
}

const string& DescribeExecutePlanResponse::EcsInfo::GetZoneId(void) const {
  return ZoneId_;
}

const string& DescribeExecutePlanResponse::EcsInfo::GetImageId(void) const {
  return ImageId_;
}

const string& DescribeExecutePlanResponse::EcsInfo::GetImageName(void) const {
  return ImageName_;
}

const string& DescribeExecutePlanResponse::EcsInfo::GetSparkVersion(void) const {
  return SparkVersion_;
}

const string& DescribeExecutePlanResponse::EcsInfo::GetSecurityGroupId(void) const {
  return SecurityGroupId_;
}

int DescribeExecutePlanResponse::EcsInfo::GetTotalCount(void) const {
  return TotalCount_;
}

int DescribeExecutePlanResponse::EcsInfo::GetMasterCount(void) const {
  return MasterCount_;
}

int DescribeExecutePlanResponse::EcsInfo::GetSlaveCount(void) const {
  return SlaveCount_;
}

const std::vector<DescribeExecutePlanResponse::JobInfo>& DescribeExecutePlanResponse::GetJobInfos(void) const {
  return JobInfos_;
}

const DescribeExecutePlanResponse::ClusterInfo& DescribeExecutePlanResponse::GetClusterInfo(void) const {
  return ClusterInfo_;
}

const DescribeExecutePlanResponse::SoftwareInfo& DescribeExecutePlanResponse::GetSoftwareInfo(void) const {
  return SoftwareInfo_;
}

const DescribeExecutePlanResponse::EcsInfo& DescribeExecutePlanResponse::GetEcsInfo(void) const {
  return EcsInfo_;
}

int64 DescribeExecutePlanResponse::GetId(void) const {
  return Id_;
}

const string& DescribeExecutePlanResponse::GetName(void) const {
  return Name_;
}

int DescribeExecutePlanResponse::GetStrategy(void) const {
  return Strategy_;
}

int DescribeExecutePlanResponse::GetTimeInterval(void) const {
  return TimeInterval_;
}

const string& DescribeExecutePlanResponse::GetStartTime(void) const {
  return StartTime_;
}

const string& DescribeExecutePlanResponse::GetTimeUnit(void) const {
  return TimeUnit_;
}

bool DescribeExecutePlanResponse::GetIsCreateCluster(void) const {
  return IsCreateCluster_;
}

const char* DescribeExecutePlanResponse::BaseKey(void) {
  return "DescribeExecutePlanResponse";
}

void DescribeExecutePlanResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int JobInfos__length = 0;
  UnmarshallerInt(JobInfos__length, response_map, "DescribeExecutePlanResponse.JobInfos.Length");
  if(JobInfos__length >= 0) {
    JobInfos_.resize(JobInfos__length);
    for(int i1 = 0; i1 < JobInfos__length; i1++) {
      UnmarshallerInt64(JobInfos_[i1].Id_, response_map, "DescribeExecutePlanResponse.JobInfos["+string_ValueOfInt(i1)+"].Id");
    } // for(int i1 = 0; i1 < JobInfos__length; i1++) {
  } // if(JobInfos__length >= 0) {

  UnmarshallerInt64(Id_, response_map, "DescribeExecutePlanResponse.Id");
  UnmarshallerString(Name_, response_map, "DescribeExecutePlanResponse.Name");
  UnmarshallerInt(Strategy_, response_map, "DescribeExecutePlanResponse.Strategy");
  UnmarshallerInt(TimeInterval_, response_map, "DescribeExecutePlanResponse.TimeInterval");
  UnmarshallerString(StartTime_, response_map, "DescribeExecutePlanResponse.StartTime");
  UnmarshallerString(TimeUnit_, response_map, "DescribeExecutePlanResponse.TimeUnit");
  UnmarshallerBool(IsCreateCluster_, response_map, "DescribeExecutePlanResponse.IsCreateCluster");
    UnmarshallerInt64(ClusterInfo_.ClusterId_, response_map, "DescribeExecutePlanResponse.ClusterInfo.ClusterId");
    UnmarshallerString(ClusterInfo_.BizId_, response_map, "DescribeExecutePlanResponse.ClusterInfo.BizId");
    UnmarshallerString(ClusterInfo_.ClusterName_, response_map, "DescribeExecutePlanResponse.ClusterInfo.ClusterName");
    UnmarshallerString(ClusterInfo_.UtcStartTime_, response_map, "DescribeExecutePlanResponse.ClusterInfo.UtcStartTime");
    UnmarshallerString(ClusterInfo_.UtcStopTime_, response_map, "DescribeExecutePlanResponse.ClusterInfo.UtcStopTime");
    UnmarshallerInt(ClusterInfo_.TimeOutEnable_, response_map, "DescribeExecutePlanResponse.ClusterInfo.TimeOutEnable");
    UnmarshallerString(ClusterInfo_.TimeOutTime_, response_map, "DescribeExecutePlanResponse.ClusterInfo.TimeOutTime");
    UnmarshallerInt(ClusterInfo_.TimeOutWarningWay_, response_map, "DescribeExecutePlanResponse.ClusterInfo.TimeOutWarningWay");
    UnmarshallerInt(ClusterInfo_.TimeOutOperate_, response_map, "DescribeExecutePlanResponse.ClusterInfo.TimeOutOperate");
    UnmarshallerInt(ClusterInfo_.ReleaseSetting_, response_map, "DescribeExecutePlanResponse.ClusterInfo.ReleaseSetting");
    UnmarshallerBool(ClusterInfo_.IsOpenOssLog_, response_map, "DescribeExecutePlanResponse.ClusterInfo.IsOpenOssLog");
    UnmarshallerInt(ClusterInfo_.Status_, response_map, "DescribeExecutePlanResponse.ClusterInfo.Status");
    UnmarshallerInt(ClusterInfo_.LastJobStatus_, response_map, "DescribeExecutePlanResponse.ClusterInfo.LastJobStatus");
    UnmarshallerInt(ClusterInfo_.RunningTime_, response_map, "DescribeExecutePlanResponse.ClusterInfo.RunningTime");
    UnmarshallerString(ClusterInfo_.FailReason_, response_map, "DescribeExecutePlanResponse.ClusterInfo.FailReason");
    UnmarshallerString(ClusterInfo_.OssPath_, response_map, "DescribeExecutePlanResponse.ClusterInfo.OssPath");
    UnmarshallerString(ClusterInfo_.EmrRole4ECS_, response_map, "DescribeExecutePlanResponse.ClusterInfo.EmrRole4ECS");
    UnmarshallerString(ClusterInfo_.EmrRole4Oss_, response_map, "DescribeExecutePlanResponse.ClusterInfo.EmrRole4Oss");
    UnmarshallerBool(ClusterInfo_.IsOpenPublicIp_, response_map, "DescribeExecutePlanResponse.ClusterInfo.IsOpenPublicIp");
    UnmarshallerString(SoftwareInfo_.EmrVer_, response_map, "DescribeExecutePlanResponse.SoftwareInfo.EmrVer");
    UnmarshallerString(SoftwareInfo_.ClusterType_, response_map, "DescribeExecutePlanResponse.SoftwareInfo.ClusterType");
    UnmarshallerString(SoftwareInfo_.Softwares_, response_map, "DescribeExecutePlanResponse.SoftwareInfo.Softwares");
      int EcsInfo__EcsRoles__length = 0;
      UnmarshallerInt(EcsInfo__EcsRoles__length, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles.Length");
      if(EcsInfo__EcsRoles__length >= 0) {
        EcsInfo_.EcsRoles_.resize(EcsInfo__EcsRoles__length);
        for(int i2 = 0; i2 < EcsInfo__EcsRoles__length; i2++) {
        int EcsInfo__EcsRoles_i2_Nodes__length = 0;
        UnmarshallerInt(EcsInfo__EcsRoles_i2_Nodes__length, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles[+"+string_ValueOfInt(i2)+"].Nodes.Length");
        if(EcsInfo__EcsRoles_i2_Nodes__length >= 0) {
          EcsInfo_.EcsRoles_[i2].Nodes_.resize(EcsInfo__EcsRoles_i2_Nodes__length);
          for(int i3 = 0; i3 < EcsInfo__EcsRoles_i2_Nodes__length; i3++) {
            UnmarshallerString(EcsInfo_.EcsRoles_[i2].Nodes_[i3].InstanceId_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles[+"+string_ValueOfInt(i2)+"].Nodes["+string_ValueOfInt(i3)+"].InstanceId");
            UnmarshallerString(EcsInfo_.EcsRoles_[i2].Nodes_[i3].PubIp_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles[+"+string_ValueOfInt(i2)+"].Nodes["+string_ValueOfInt(i3)+"].PubIp");
            UnmarshallerString(EcsInfo_.EcsRoles_[i2].Nodes_[i3].InnerIp_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles[+"+string_ValueOfInt(i2)+"].Nodes["+string_ValueOfInt(i3)+"].InnerIp");
            UnmarshallerString(EcsInfo_.EcsRoles_[i2].Nodes_[i3].DiskInfo_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles[+"+string_ValueOfInt(i2)+"].Nodes["+string_ValueOfInt(i3)+"].DiskInfo");
          } // for(int i3 = 0; i3 < EcsInfo__EcsRoles_i2_Nodes__length; i3++) {
        } // if(EcsInfo__EcsRoles_i2_Nodes__length >= 0) {

          UnmarshallerBool(EcsInfo_.EcsRoles_[i2].IsMaster_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].IsMaster");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].InstanceType_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].InstanceType");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].Payment_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].Payment");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].CpuCore_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].CpuCore");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].MemoryCapacity_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].MemoryCapacity");
          UnmarshallerInt(EcsInfo_.EcsRoles_[i2].DiskType_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].DiskType");
          UnmarshallerInt(EcsInfo_.EcsRoles_[i2].DiskCapacity_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].DiskCapacity");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].BandWidth_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].BandWidth");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].NetPayType_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].NetPayType");
          UnmarshallerString(EcsInfo_.EcsRoles_[i2].EcsPayType_, response_map, "DescribeExecutePlanResponse.EcsInfo.EcsRoles["+string_ValueOfInt(i2)+"].EcsPayType");
        } // for(int i2 = 0; i2 < EcsInfo__EcsRoles__length; i2++) {
      } // if(EcsInfo__EcsRoles__length >= 0) {

    UnmarshallerString(EcsInfo_.RegionId_, response_map, "DescribeExecutePlanResponse.EcsInfo.RegionId");
    UnmarshallerString(EcsInfo_.ZoneId_, response_map, "DescribeExecutePlanResponse.EcsInfo.ZoneId");
    UnmarshallerString(EcsInfo_.ImageId_, response_map, "DescribeExecutePlanResponse.EcsInfo.ImageId");
    UnmarshallerString(EcsInfo_.ImageName_, response_map, "DescribeExecutePlanResponse.EcsInfo.ImageName");
    UnmarshallerString(EcsInfo_.SparkVersion_, response_map, "DescribeExecutePlanResponse.EcsInfo.SparkVersion");
    UnmarshallerString(EcsInfo_.SecurityGroupId_, response_map, "DescribeExecutePlanResponse.EcsInfo.SecurityGroupId");
    UnmarshallerInt(EcsInfo_.TotalCount_, response_map, "DescribeExecutePlanResponse.EcsInfo.TotalCount");
    UnmarshallerInt(EcsInfo_.MasterCount_, response_map, "DescribeExecutePlanResponse.EcsInfo.MasterCount");
    UnmarshallerInt(EcsInfo_.SlaveCount_, response_map, "DescribeExecutePlanResponse.EcsInfo.SlaveCount");
}


} } // namespace aliyun { namespace Emr {

// end of file 
